<script>

</script>
<form id="pagerForm" method="post" action="getPaAllPost">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="<%=perPage%>" />
</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" action="getPaAllPost" method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <%if(sn){%>
                    <td>
                        PN : <input type="text" name="pasn" value="<%=sn%>"/>
                    </td>
                    <%}else{%>
                    <td>
                        PN : <input type="text" name="pasn"/>
                    </td>
                    <%}%>
                    <%if(pn){%>
                    <td>
                        名称：<input type="text" name="paname" value="<%=pn%>"/>
                    </td>
                    <%}else{%>
                    <td>
                        组件名称：<input type="text" name="paname"/>
                    </td>
                    <%}%>
                    <%if(bn){%>
                    <td>
                        批号：<input type="text" name="pabn" value="<%=bn%>"/>
                    </td>
                    <%}else{%>
                    <td>
                        批号：<input type="text" name="pabn"/>
                    </td>
                    <%}%>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
                    <!--<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>-->
                </ul>
            </div>
        </div>
    </form>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><input type="checkbox" class="checkboxCtrl" group="ids" />全选</li>
            <li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" postType="string" href="batchDelPa" class="delete"><span>批量删除</span></a></li>
            <!--
            <li><a class="delete" href="deleteCpOne?pid={pid}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
            <li><a class="edit" href="demo_page4.html?pid={pid}" target="navTab"><span>修改</span></a></li>
            -->
            <li class="line">line</li>
        </ul>
    </div>
        <table class="table" width="100%" layoutH="138">
            <thead>
                <tr>
                    <th width="30">选择</th>
                    <th width="60" align="center">PN</th>
                    <th width="120" align="center">组件名称</th>
                    <th width="100" align="center">型号</th>
                    <th width="80" align="center">版本号</th>
                    <th width="80" align="center">生产日期</th>
                    <th width="85" align="center">生产商信息</th>
                    <th width="50" align="center">批号</th>
                    <th width="80" align="center">生产地</th>
                    <th width="80" align="center">发往地</th>
                    <th width="50" align="center">最终用户</th>
                    <th width="80" align="center">状态</th>
                    <th width="80" align="center">返修信息</th>
                    <th width="100" align="center">操作</th>
                </tr>
            </thead>
            <tbody>
                <%pas.forEach(function(pa){%>
                    <%include pa%>
                <%})%>
            </tbody>
        </table>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20">20</option>
                <option value="80">80</option>
                <option value="90">90</option>
                <option value="100">100</option>
                <option value="200">200</option>
            </select>
            <span>条，共<%=total%>条</span>
        </div>
        <div class="pagination" targetType="navTab" totalCount="<%=total%>" numPerPage="<%=perPage%>" pageNumShown="<%=perPage%>" currentPage="<%=page%>"></div>
    </div>
</div>